package com.wxb.service.impl;

import com.wxb.domain.MallAttributeEntity;
import com.wxb.mapper.MallAttributeMapper;
import com.wxb.service.IMallAttributeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-30 14:29
 * @Version 1.0
 * @Description
 * @ClassName MallAttributeServiceImpl
 **/
@Service
public class MallAttributeServiceImpl implements IMallAttributeService {
    @Autowired
    private MallAttributeMapper attributeMapper;


    public MallAttributeEntity queryObject(Integer id) {
        return attributeMapper.queryObject(id);
    }


    public List<MallAttributeEntity> queryList(Map<String, Object> map) {
        return attributeMapper.queryList(map);
    }

    public int queryTotal(Map<String, Object> map) {
        return attributeMapper.queryTotal(map);
    }


    public void save(MallAttributeEntity goods) {
        attributeMapper.save(goods);
    }


    public void update(MallAttributeEntity goods) {
        attributeMapper.update(goods);
    }


    public void delete(Integer id) {
        attributeMapper.delete(id);
    }


    public void deleteBatch(Integer[] ids) {
        attributeMapper.deleteBatch(ids);
    }
}
